std::ios_base::xalloc

From Cppreference

Jump to: navigation, search
static int xalloc();

Returns an unique index value that can be used to access elements in the two internal extensible arrays that each ios_base object has. One array holds elements of type long and can be accessed by iword(), another array holds elements of type void* and can be accessed by pword().

Contents

Parameters

(none)

Return value

index of the newly reserved element.

Example

See also

pword
accesses specified element in the internal extensible array of void* elements
(public member function)
iword
accesses specified element in the internal extensible array of long elements
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages